package com.syh.jn.scm.domain.supplier.repository.base.upstream;

import com.syh.core.ddd.infrastructure.repository.ReadRepo;
import com.syh.jn.scm.domain.supplier.entity.base.upstream.Upstream;
import com.syh.jn.scm.dto.supplier.base.upstream.supplierAddress.UpstreamAddressVo;

import java.util.List;

public interface UpstreamReadRepository extends ReadRepo<Upstream, Long> {

    /**
     * 根据id查地址列表
     *
     * @return
     */
    public List<UpstreamAddressVo> getAddressListById(Long id);
}
